﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// XhReservationData
	/// </summary>
    [Serializable]
	public class XhReservationData
	{
		/// <summary>
		/// XhReservationDataID
        /// </summary>
        [FieldName("XhReservationDataID")]		
		public int XhReservationDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhVipName
        /// </summary>
        [FieldName("XhVipName")]		
		public string XhVipName
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhReservedTime
        /// </summary>
        [FieldName("XhReservedTime")]		
		public DateTime XhReservedTime
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhReservedDuration
        /// </summary>
        [FieldName("XhReservedDuration")]		
		public int? XhReservedDuration
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhReservedField
        /// </summary>
        [FieldName("XhReservedField")]		
		public string XhReservedField
		{
			get;
			set;
		}
        
		/// <summary>
		/// XhReservationState
        /// </summary>
        [FieldName("XhReservationState")]		
		public string XhReservationState
		{
			get;
			set;
		}
        
        public XhReservationData Clone()
        {
            return (XhReservationData)this.MemberwiseClone();
        }
        
        public XhReservationData()
        {
            XhVipName = string.Empty;
            XhReservedTime = ConvertHelper.DefaultDate;
            XhReservedField = string.Empty;
            XhReservationState = string.Empty;
        }
	}
}
